package com.heima.file.config;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.io.Serializable;

@Data
@ConfigurationProperties(prefix = "minio")  // 文件上传 配置前缀file.oss
public class MinIOConfigProperties implements Serializable {

    private String accessKey;   //minio账户名：minio
    private String secretKey;   //minio密码：minio123
    private String bucket;  //minio桶名称：leadnews
    private String endpoint;    //minio地址和端口号：http://192.168.200.130:9000
    private String readPath;    //文件读取路径：http://192.168.200.130:9000
}
